package com.example.test;

public class Boot {
    public static void main(String[] args){
        User user=new User("1","2");
        setUser(user);
        System.out.println(user.toString());
    }

    private static void setUser(User user) {
//        user.setId("lyy");
//        user.setName("fjl");
        user=new User("lyy","fjl");
    }

}
